package com.dao;

import java.util.List;

import com.model.Lession;

public interface LessionMapper {
    int deleteByPrimaryKey(Integer lId);

    int insert(Lession record);

    int insertSelective(Lession record);

    Lession selectByPrimaryKey(Integer lId);

    int updateByPrimaryKeySelective(Lession record);

    int updateByPrimaryKey(Lession record);
    
   /* jwh*/
  List<Lession> selectByUid(Integer uid);
  int deleteByU_id(Integer uId);
  List<Lession> selectByUidAndDate(Integer uid,String startDateTime,String endDateTime);
}